package com.example.demoweb1.demowed;

import org.springframework.boot.autoconfigure.security.SecurityProperties;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {
    @RequestMapping("/getUser")
    public SecurityProperties.User getUser(SecurityProperties.User user){
        return user;
    }
}

